<script>
export default {
  props: ['list']
}
</script>
<template>
  <div class="list_two_type1">
    <div class="cell" v-for="(item,$index) in list" :key="$index">
      <image class="img" :src="item.img_url"></image>
      <text class="title">{{item.product_name}}</text>
      <text class="desc">{{item.product_brief}}</text>
      <div class="price-box">
        <text class="price">￥{{item.product_price}}</text>
        <text class="qi" v-if="item.show_price_qi===true">起</text>
      </div>

      <image class="tag" v-if="item.product_tag" :scr="item.product_tag"></image>
    </div>
  </div>
</template>
<style scoped>
.list_two_type1 {
  flex-direction: row;
  justify-content: space-between;
}

.cell {
  width: 373px;
  overflow: hidden;
  padding-bottom: 25px;
  position: relative;
}

.tag {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 48px;
}

.img {
  width: 373px;
  height: 373px;
}

.title {
  font-size: 30px;
  color: #333;
  margin-top: 10px;
  margin-left: 20px;
}

.desc {
  font-size: 25px;
  color: #ccc;
  margin-top: 10px;
  margin-left: 20px;
}

.price-box {
  flex-direction: row;
  align-items: flex-end;
  margin-top: 18px;
  margin-left: 20px;
}

.price {
  font-size: 32px;
  color: #ff6000;
}

.qi {
  font-size: 20px;
  color: #ff6000;
  margin-left: 10px;
}
</style>

